Update Phone Number
This flow will initiate the process of updating the user's phone number.
Here are the steps for executing Update Phone Number
1 Go to Dashboard > Authentication > Actions, and click on the flow created for Update Phone Number.
To know how to create an authentication flow step-by-step, see here.
2 Drag and drop the Update Phone Number authenticator.
3 Give a click to the newly added authenticator in order to set up your preferences. The authenticator's General will be displayed.
Configuration for General
(*) Indicates that the action is mandatory.
Attribute | Description |
---|---|
Enable | This toggle will be enabled by default. |
*Action Policy | Choose the action policy from the drop-down. To know how to create an Action Policy, see here. |
4 After configuring the required inputs, click on the Configs tab.
Configuration for Configs
(*) Indicates that the action is mandatory.
Attribute | Description |
---|---|
Phone Verification Expiry Duration | Configure the expiration time for OTP verification, with options for days (2d), hours (2h), minutes (2m), or seconds (2s). |
Phone Verification OTP Length | Set the length of the OTP, ranging from 4 to 8 characters. The default value is 6. |
Template of text to send to the user | Phone message template, include {code} attribute in your text to map the generated OTP. |
SMS Sender | The default sms provider will be pre-configured. If you wish to use a custom provider, please refer here. |
5 Provide the necessary configurations and click on SAVE.
6 Moving forward, the subsequent step involves associating the update phone number flow with the application for execution. If you're looking to understand how to attach an authenticator to an application, see here.
7 To know how to execute an authentication flow, see here.